<?php
namespace App\Requests\Hotel;
use App\Requests\BaseRequest;
/**
 {docs}
 */
class DeleteRequest extends BaseRequest
{
    /**
     * 定义规则信息
     *
     * @return array
     */
    public function rules()
    {
        return [
			'id' => 'required|integer|min:1|exists:hotels',
		];
    }
    /**
     * 定义字段对应的名称
     *
     * @return array
     */
    public function attributes()
    {
        return [
			'id' => '该数据',
		];
    }
}